package cn.sumpu.app.wlcity.biz.impl;

import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import cn.sumpu.app.wlcity.biz.AuxTestBiz;
import cn.sumpu.app.wlcity.dao.AuxTestDao;
import cn.sumpu.app.wlcity.domain.AuxTest;
import cn.sumpu.app.wlcity.exception.AppBusinessException;

public class AuxTestBizImpl implements AuxTestBiz {

	@SuppressWarnings("unused")
	private static Logger logger = LoggerFactory
			.getLogger(AuxTestBizImpl.class);

	private AuxTestDao auxTestDao;

	public void setAuxTestDao(AuxTestDao auxTestDao) {
		this.auxTestDao = auxTestDao;
	}

	@Override
	public List<AuxTest> modify(AuxTest test) throws AppBusinessException {
		auxTestDao.insert(test);
		return auxTestDao.get();
	}

}
